﻿define(function (require, exports, module) {
    require('plugins/fuelux.spinner.min');
    //公有属性和方法
    module.exports = {
        init: function (jq, params) {
            jq.ace_spinner({
                value: params.value,
                min: params.min,
                max: params.max,
                step: params.step,
                on_sides: params.on_sides,
                icon_up: 'ace-icon icon-plus smaller-75',
                icon_down: 'ace-icon icon-minus smaller-75',
                btn_up_class: 'btn-success',
                btn_down_class: 'btn-danger'
            });
        }
    }
});

